#!/usr/bin/env bats

@test "static one exclude-files: static" {
  cd $BATS_TEST_DIRNAME
  expected="file1:23:to his commits. This ID allows Gerrit to link together different versions of
file1:57:The output of this command also contains a link to a web page Max can use to
file1:58:review this commit. Clicking on that link takes him to a screen similar to the
file5:23:to his commits. This ID allows Gerrit to link together different versions of
file5:57:The output of this command also contains a link to a web page Max can use to
file5:58:review this commit. Clicking on that link takes him to a screen similar to the
fileDir3/file3:23:to his commits. This ID allows Gerrit to link together different versions of
fileDir3/file3:57:The output of this command also contains a link to a web page Max can use to
fileDir3/file3:58:review this commit. Clicking on that link takes him to a screen similar to the"
  result="$(fish -c 'tbgs link')"; [ "$result" = "$expected" ]
}
